package com.example.serverdemo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class HelloController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String SayHello() {
        log.info("测试！！！！！！！！！！");
        return "Hello World!";
    }
}


